﻿<Activity mc:Ignorable="sap sads" x:Class="TfsCloudDeploy.Workflow.Core.DeploymentService.Activities.DeployBuild"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:local="clr-namespace:TfsCloudDeploy.Workflow.Core.DeploymentService"
 xmlns:local1="clr-namespace:TfsCloudDeploy.Workflow.Core.DeploymentService.Activities"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities"
 xmlns:p="http://tempuri.org/"
 xmlns:p1="http://schemas.microsoft.com/netfx/2009/xaml/servicemodel"
 xmlns:s="clr-namespace:System;assembly=System"
 xmlns:s1="clr-namespace:System;assembly=System.Core"
 xmlns:s2="clr-namespace:System;assembly=System.ServiceModel"
 xmlns:s3="clr-namespace:System;assembly=mscorlib"
 xmlns:sa="clr-namespace:System.Activities;assembly=System.Activities"
 xmlns:sad="clr-namespace:System.Activities.Debugger;assembly=System.Activities"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:srs="clr-namespace:System.Runtime.Serialization;assembly=System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
 xmlns:srs1="clr-namespace:System.Runtime.Serialization;assembly=System.Runtime.Serialization"
 xmlns:srs2="clr-namespace:System.Runtime.Serialization;assembly=mscorlib"
 xmlns:twcd1="clr-namespace:TfsCloudDeploy.Workflow.Core.DeploymentService;assembly=TfsCloudDeploy.Workflow.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="DeployBuildResult" Type="OutArgument(local:DeploymentResponse)" />
    <x:Property Name="DeploymentServiceAddress" Type="InArgument(x:String)" />
    <x:Property Name="BuildPath" Type="InArgument(x:String)" />
    <x:Property Name="Binding" Type="InArgument(x:String)" />
  </x:Members>
  <sap:VirtualizedContainerService.HintSize>317,546</sap:VirtualizedContainerService.HintSize>
  <mva:VisualBasic.Settings>Assembly references and imported namespaces serialized as XML namespaces</mva:VisualBasic.Settings>
  <Sequence sad:XamlDebuggerXmlReader.FileName="F:\CodePlex\TfsCloudDeploy\Dev\TfsCloudDeploy\Workflow.Core\Service References\DeploymentService\TfsCloudDeploy.Workflow.Core.DeploymentService.IDeploymentServiceV1.DeployBuild.xaml" sap:VirtualizedContainerService.HintSize="277,506" mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces">
    <Sequence.Variables>
      <Variable x:TypeArguments="local:DeployBuildResponse" x:Name="__ReferenceID2" Name="tempResult" />
      <Variable x:TypeArguments="p1:CorrelationHandle" x:Name="__ReferenceID0" />
    </Sequence.Variables>
    <sap:WorkflowViewStateService.ViewState>
      <scg:Dictionary x:TypeArguments="x:String, x:Object">
        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
      </scg:Dictionary>
    </sap:WorkflowViewStateService.ViewState>
    <local1:BindingScope Binding="[Binding]" sap:VirtualizedContainerService.HintSize="255,22">
      <p1:Send x:Name="__ReferenceID1" Action="http://tempuri.org/IDeploymentServiceV1/DeployBuild" EndpointAddress="[New System.Uri(DeploymentServiceAddress)]" sap:VirtualizedContainerService.HintSize="255,90" OperationName="DeployBuild" ServiceContractName="p:IDeploymentServiceV1">
        <p1:Send.CorrelationInitializers>
          <p1:RequestReplyCorrelationInitializer>
            <p1:RequestReplyCorrelationInitializer.CorrelationHandle>
              <InArgument x:TypeArguments="p1:CorrelationHandle">
                <VariableValue x:TypeArguments="p1:CorrelationHandle" Variable="{x:Reference __ReferenceID0}" />
              </InArgument>
            </p1:RequestReplyCorrelationInitializer.CorrelationHandle>
          </p1:RequestReplyCorrelationInitializer>
        </p1:Send.CorrelationInitializers>
        <p1:SendMessageContent>
          <InArgument x:TypeArguments="local:DeployBuildRequest">[New TfsCloudDeploy.Workflow.Core.DeploymentService.DeployBuildRequest() With {.deploymentRequest = New DeploymentRequest() With {.BuildPath = BuildPath}}]</InArgument>
        </p1:SendMessageContent>
      </p1:Send>
    </local1:BindingScope>
    <p1:ReceiveReply Request="{x:Reference __ReferenceID1}" Action="http://tempuri.org/IDeploymentServiceV1/DeployBuildResponse" sap:VirtualizedContainerService.HintSize="255,90">
      <p1:ReceiveMessageContent>
        <OutArgument x:TypeArguments="local:DeployBuildResponse">
          <VariableReference x:TypeArguments="local:DeployBuildResponse" Variable="{x:Reference __ReferenceID2}" />
        </OutArgument>
      </p1:ReceiveMessageContent>
    </p1:ReceiveReply>
    <Assign sap:VirtualizedContainerService.HintSize="255,60">
      <Assign.To>
        <OutArgument x:TypeArguments="local:DeploymentResponse">[DeployBuildResult]</OutArgument>
      </Assign.To>
      <Assign.Value>
        <InArgument x:TypeArguments="local:DeploymentResponse">[tempResult.DeployBuildResult]</InArgument>
      </Assign.Value>
    </Assign>
  </Sequence>
</Activity>